package com.android.pI;


public class TimeFormater {

	public int seconds;
	public String time;
	public int minutes;

	// The constructor method
	public TimeFormater	(long millis) {
		int seconds = (int) ((millis / 1000) % 60);
		int minutes = (int) ((millis / 1000) / 60);
		time = String.format("%02d:%02d", minutes, seconds);
	}
	
	public String getTime(){
		return time;
	}
}
